var message = "";
$("#fm > fieldset:nth-child(29) > div").find("input[type='text'],select").each(
    function(e){
        var $this = $(this);
        var selectParentCanNotWrite = false;
        if($this.is("select")){
            selectParentCanNotWrite = $this.parent().hasClass("disabled");
        }

        var canNotWrite = $this.attr("readonly") === "readonly" || $this.attr("disabled") === "disabled" || selectParentCanNotWrite
        if(!canNotWrite){
            message += $this.prop("outerHTML") + "\n";
            console.log(message);
        }
    }
);

if(message){
    console.log(message);
    throw message;
}